#ifndef PARTNER_H
#define PARTNER_H

#include <QLabel>

class Partner : public QLabel
{
    Q_OBJECT
public:
    explicit Partner(QWidget *parent = nullptr, quint32 p= 0);
    void setpic(QImage img);
private:
    quint32 ip;

    void mousePressEvent(QMouseEvent *ev) override;
    int w;
signals:
    void sendip(quint32);//发送IP
};

#endif // PARTNER_H
